.w {
    width: 1200px;
    margin: 0 auto !important;
}

// 头部区域
.box {
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 5px 1px rgba(177, 175, 175, 0.5);
    z-index: 2;
    .box-nav {
        display: flex;
        height: 100%;
        // justify-content: center;
        align-items: center;
        overflow: hidden;
        // logo
        .box-logo {
            height: 100%;
            margin-right: 40px;
            a {
                display: inline-block;
                height: 100%;
                text-align: center;
                line-height: 60px;
                img {
                    display: inline-block;
                    width: 40px;
                    height: 40px;
                    margin-right: 12px;
                    vertical-align: middle;
                }
                span {
                    display: inline;
                    vertical-align: middle;
                    font-size: 15px;
                    color: #212121;
                }
            }
        }
        // 导航分类
        .box-fenlei {
            flex: 1;
            height: 100%;
            line-height: 60px;
            .fenlei-items {
                overflow: hidden;
                transition: all 0.3s;
                #bilibili {
                    display: inline-block;
                    height: 100%;
                    padding: 0 6px;
                    img {
                        display: inline-block;
                        width: 18px;
                        height: 18px;
                        vertical-align: middle;
                    }
                    span {
                        font-size: 14px;
                        color: rgba(0, 0, 0, 0.8);
                        vertical-align: middle;
                        &:hover {
                            color: #32aaff;
                        }
                    }
                }
                .nav-items {
                    position: relative;
                    display: inline-block;
                    line-height: 60px;
                    padding: 0 6px;
                    &::after {
                        content: '';
                        position: absolute;
                        left: 50%;
                        top: 50%;
                        transform: translate(-50%, 11px);
                        height: 3px;
                        width: 8px;
                        border-radius: 1px;
                        background: #32aaff;
                        display: none;
                    }
                    span {
                        font-size: 14px;
                        color: rgba(0, 0, 0, 0.8);
                        vertical-align: middle;
                    }
                }
                .active::after {
                    display: block;
                }
                a {
                    span:hover {
                        color: #32aaff;
                    }
                }
            }
        }
        // 搜索、下载、login 区域
        .right {
            height: 60px;
            line-height: 60px;
            // 搜索
            .box-serach {
                position: relative;
                display: inline-block;
                height: 100%;
                // text-align: center;
                input {
                    width: 180px;
                    height: 32px;
                    background-color: #f4f4f4;
                    border: 0;
                    outline: none;
                    border-radius: 15px;
                }
                span {
                    position: absolute;
                    top: 24px;
                    right: 10px;
                    width: 16px;
                    height: 16px;
                    background: url(../images/search.svg) no-repeat center;
                    background-size: cover;
                }
            }
            //下载
            .download-app {
                position: relative;
                display: inline-block;
                padding: 0 15px 0 30px;
                font-size: 14px;
                height: 100%;
                span {
                    color: rgba(0, 0, 0, 0.8);
                }
                .toptip {
                    position: absolute;
                    background-image: url(../images/download-tip.png);
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-position: 50%;
                    width: 58px;
                    height: 19px;
                    top: 50%;
                    left: 50%;
                    transform: translate(25px, -23px);
                }
                .erweima {
                    opacity: 0;
                    position: absolute;
                    width: 188px;
                    height: 239px;
                    background: #fff;
                    border-radius: 5px;
                    box-shadow: 0 0 16px -2px rgb(0 0 0 / 20%);
                    left: -35px;
                    top: 50px;
                    transition: opacity 0.2s;
                    padding: 14px;
                    box-sizing: border-box;
                    .top {
                        position: absolute;
                        width: 10px;
                        height: 10px;
                        border-radius: 3px 0;
                        left: 50%;
                        top: 0;
                        transform: translate(-50%, -50%) rotate(45deg);
                        background: #fff;
                    }
                    .center {
                        width: 160px;
                        height: 160px;
                        background-size: contain;
                        background-position: 50%;
                        background-repeat: no-repeat;
                        background-image: url(../images/qrcode.png);
                    }
                    .bottom-first {
                        line-height: 22px;
                        letter-spacing: 1.14px;
                        color: #000;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        margin: 5px 0;
                        .icon {
                            width: 12px;
                            height: 16px;
                            margin-right: 3px;
                            background-size: contain;
                            background-position: 50%;
                            background-repeat: no-repeat;
                            background-image: url(../images/phone.png);
                        }
                    }
                    .bottom-last {
                        font-size: 16px;
                        line-height: 22px;
                        letter-spacing: 1.14px;
                        color: #000;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        margin: 5px 0;
                        .one {
                            color: #32aaff;
                        }
                    }
                }
                a {
                    &:hover .erweima {
                        opacity: 1;
                    }
                }
            }
            // login
            .box-login {
                position: relative;
                display: inline-block;
                height: 100%;
                .t1,
                .t2 {
                    height: 100%;
                    padding: 0 10px;
                    color: #212121;
                }
                span {
                    opacity: 0.8;
                }
            }
        }
    }
}
// 轮播图
.banner {
    // position: relative;
    // background-color: #212121;
    overflow: hidden;
    // box-sizing: border-box;
    padding-top: 60px;
    z-index: 1;
    .swiper-container {
        height: 380px;
        overflow: hidden;
    }
    .banner-nav {
        width: 100%;
        padding: 26px 0;
        font-size: 16px;
        color: #fff;
        background-color: #212121;
        z-index: 5;
        .container {
            width: 100%;
            margin: auto;
            max-width: 1200px;
            display: flex;
            flex-flow: row nowrap;
            align-items: center;
            justify-content: space-between;
            a {
                color: #fff;
            }
        }
    }
}
// 为你推荐
.tuijian {
    // title
    .tj-title {
        padding: 60px 0 16px;
        display: flex;
        align-items: center;
        color: #000;
        h2 {
            font-weight: 400;
            font-size: 32px;
            line-height: 45px;
            flex: 1;
        }
        .change {
            height: 34px;
            width: 90px;
            background-color: rgba(50, 170, 255, 0.16);
            border-radius: 20px;
            font-size: 14px;
            display: flex;
            justify-content: center;
            align-items: center;
            line-height: 1;
            color: #32aaff;
            cursor: pointer;
            .change-icon {
                margin-right: 4px;
                width: 12px;
                height: 12px;
                background: url(../images/reload.png) no-repeat 0 0 / contain;
            }
        }
    }
    // 推荐列表
    .tj-list {
        display: flex;
        flex-flow: row;
        justify-content: space-between;
        margin: 0 -5px;
        .tj-items {
            max-width: 180px;
            padding: 0 5px 24px;
            flex: 1;
            .tj-item {
                .item-img {
                    width: 100%;
                    padding-top: 133%;
                    background: url(../images/tuijian-img1.jpg) no-repeat 50% 50% / cover;
                    border-radius: 2px;
                }
                .item-img2 {
                    width: 100%;
                    padding-top: 133%;
                    background: url(../images/tuijian-img2.jpg) no-repeat 50% 50% / cover;
                    border-radius: 2px;
                }
                p {
                    font-size: 18px;
                    line-height: 25px;
                    color: #000;
                    margin: 10px 0 5px;
                }
                span {
                    font-size: 13px;
                    line-height: 18px;
                    color: #999;
                    padding: 2px 0;
                }
            }
        }
    }
}

// 热门速递
.remen {
    // title
    .remen-title {
        padding: 60px 0 16px;
        display: flex;
        align-items: center;
        color: #000;
        h2 {
            font-weight: 400;
            font-size: 32px;
            line-height: 45px;
        }
        .tap {
            font-size: 14px;
            line-height: 20px;
            margin: 10px 0 0 28px;
            color: rgba(0, 0, 0, 0.6);
            cursor: pointer;
            &:hover {
                color: #000;
            }
        }
        .active2 {
            color: #32aaff !important;
            position: relative;
            &::after {
                content: '';
                position: absolute;
                width: 8px;
                height: 3px;
                border-radius: 1px;
                background-color: #32aaff;
                bottom: -3px;
                left: 50%;
                transform: translate(-50%);
            }
        }
        .active2 {
            color: #32aaff !important;
            position: relative;
            &::after {
                content: '';
                position: absolute;
                width: 8px;
                height: 3px;
                border-radius: 1px;
                background-color: #32aaff;
                bottom: -3px;
                left: 50%;
                transform: translate(-50%);
            }
        }
        .zhan {
            flex: 1;
        }
        .change {
            height: 34px;
            width: 90px;
            background-color: rgba(50, 170, 255, 0.16);
            border-radius: 20px;
            font-size: 14px;
            display: flex;
            justify-content: center;
            align-items: center;
            line-height: 1;
            color: #32aaff;
            cursor: pointer;
            .change-icon {
                margin-right: 4px;
                width: 12px;
                height: 12px;
                background: url(../images/reload.png) no-repeat 0 0 / contain;
            }
        }
    }
    // 每行
    .row {
        display: flex;
        justify-content: space-between;
        margin: 0 -5px;
        .rm-items {
            max-width: 278px;
            padding: 0 5px 24px;
            flex: 1;
            .rm-item {
                .item-img {
                    width: 100%;
                    padding-top: 56%;
                    border-radius: 2px;
                    position: relative;
                    background: url(../images/remen-img1.png) no-repeat 50% 50% / cover;
                    border-radius: 2px;
                }
                p {
                    font-size: 18px;
                    line-height: 25px;
                    color: #000;
                    margin: 10px 0 5px;
                }
                span {
                    font-size: 13px;
                    line-height: 18px;
                    color: #999;
                    padding: 2px 0;
                }
            }
        }
    }
}

// 都市生活 奇幻异界 古风恋爱
.container {
    // title
    .title {
        padding: 60px 0 16px;
        display: flex;
        align-items: center;
        color: #000;
        h2 {
            font-weight: 400;
            font-size: 32px;
            line-height: 45px;
            flex: 1;
        }
        .change {
            height: 34px;
            width: 90px;
            background-color: rgba(50, 170, 255, 0.16);
            border-radius: 20px;
            font-size: 14px;
            display: flex;
            justify-content: center;
            align-items: center;
            line-height: 1;
            color: #32aaff;
            cursor: pointer;
            .change-text {
                font-size: 14px;
                line-height: 20px;
                color: #32aaff;
            }
            .change-icon {
                width: 8px;
                height: 16px;
                margin-left: 4px;
                background: url(../images/arrow-right.png) no-repeat 0 0 / contain;
            }
        }
    }
    //
    .row {
        display: flex;
        flex-flow: row;
        justify-content: space-between;
        margin: 0 -5px;
        .items {
            max-width: 180px;
            padding: 0 5px 24px;
            flex: 1;
            .item {
                .item-img2 {
                    width: 100%;
                    padding-top: 133%;
                    background: url(../images/tuijian-img2.jpg) no-repeat 50% 50% / cover;
                    border-radius: 2px;
                }
                p {
                    font-size: 18px;
                    line-height: 25px;
                    color: #000;
                    margin: 10px 0 5px;
                }
                span {
                    font-size: 13px;
                    line-height: 18px;
                    color: #999;
                    padding: 2px 0;
                }
            }
        }
    }
}

// 电梯导航
.content-container {
    width: 100px;
    position: fixed;
    top: 560px;
    right: 29%;
    transform: translateX(300%);
    .animation {
        width: 100px;
        height: 100px;
        background-size: cover;
        background-position: 0%;
        background-image: url(../images/sidenav-gift.png);
        position: relative;
        animation: little 4s steps(25) infinite;
        .indicator {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100px;
            height: 30px;
            background-image: url(../images/bg.png);
            background-size: contain;
            background-repeat: no-repeat;
            background-position: 50%;
            color: hsla(0, 0%, 100%, 0.9);
            font-size: 12px;
            line-height: 27px;
            text-align: center;
        }
    }
    .tab {
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        font-size: 12px;
        background-color: #fff;
        text-align: center;
        margin: 0 auto;
        ul {
            li {
                height: 36px;
                line-height: 36px;
                cursor: pointer;
                color: #000;
            }
        }
    }
    .ding {
        width: 100px;
        height: 36px;
        border: 1px solid #e0e0e0;
        background: url(../images/back-to-top.png) no-repeat;
        background-position: center;
        background-size: 17px 19px;
        background-color: #fff;
        &:hover {
            background: url(../images/back-to-top-hover.png) no-repeat;
            background-position: center;
            background-size: 17px 19px;
            background-color: #fff;
        }
    }
}

// 页尾
footer {
    margin-top: 60px;
    height: 292px;
    padding-top: 40px;
    padding-bottom: 26px;
    background-color: #212121;
    .auto {
        display: flex;
        .left {
            display: flex;
            height: 88px;
            line-height: 88px;
            opacity: 0.7;
            width: 660px;
            .my-logo {
                position: relative;
                img {
                    position: relative;
                    top: 50%;
                    transform: translateY(-50%);
                    margin-right: 20px;
                }
            }
            span {
                vertical-align: middle;
                font-size: 24px;
                color: rgba(255, 255, 255, 0.7);
            }
            .about {
                display: flex;
                flex-flow: row wrap;
                width: 260px;
                height: 80px;
                margin-left: 40px;
                a {
                    width: 56px;
                    height: 19px;
                    margin: 10px 26px;
                    line-height: 19px;
                    font-size: 14px;
                    color: hsla(0, 0%, 100%, 0.7);
                }
            }
        }

        .divider {
            width: 1px;
            height: 88px;
            background-color: rgba(32, 35, 37, 0.16);
        }

        .right {
            flex: 1;
            .one {
                flex: 33%;
                position: relative;
                margin-left: 60px;
                float: left;
                text-align: center;
                a {
                    display: block;
                    position: relative;
                    width: 64px;
                    height: 75px;
                    text-align: center;
                    img {
                        width: 64px;
                        height: 64px;
                    }
                    .img {
                        position: absolute;
                        left: 50%;
                    }

                    .panel {
                        position: absolute;
                        padding: 2px 6px;
                        left: 50%;
                        top: 130%;
                        width: 72px;
                        transform: translate(-50%);
                        border-radius: 2px;
                        background-color: #fb7299;
                        color: #fff;
                        font-size: 12px;

                        &::after {
                            content: '';
                            display: block;
                            border: 4px solid transparent;
                            border-bottom-color: #fb7299;
                            position: absolute;
                            top: 0;
                            left: 50%;
                            transform: translate(-50%, -100%);
                        }
                    }
                }
                span {
                    width: 122px;
                    color: #fff;
                }
                .border-box {
                    display: none;
                    position: absolute;
                    top: -180px;
                    left: -50px;
                    width: 160px;
                    height: 160px;
                    padding: 16px;
                    background-color: #fff;
                    border-radius: 2px;
                    box-shadow: 0 6px 18px -2px rgb(0 0 0 / 16%);
                    z-index: 999;
                    img {
                        width: 100%;
                    }
                    &::after {
                        content: '';
                        display: block;
                        border: 8px solid transparent;
                        border-top-color: #fff;
                        position: absolute;
                        top: 100%;
                        left: 50%;
                        transform: translate(-50%);
                    }
                }
                .dow {
                    left: -17px;
                }
            }
            .sina:hover .border-box {
                display: block;
            }
        }
    }

    .row-two {
        display: flex;
        .logo-list {
            padding-top: 60px;
            width: 213px;
            height: 39px;
            margin-right: 32px;
            img {
                width: 96px;
                height: 36px;
            }
            .img {
                margin-right: 16px;
            }
        }
        .tt {
            padding-top: 20px;
            line-height: 1;
            p {
                margin: 12px 0;
                font-size: 12px;
                color: hsla(0, 0%, 100%, 0.4);
                a {
                    color: hsla(0, 0%, 100%, 0.4);
                }
            }
        }
    }
}

.bgcolor {
    background-color: #6fc3ff;
}

@keyframes little {
    from {
        background-position: 0%;
    }
    to {
        background-position: 100%;
    }
}
